package test.m.serviceimpl;

import org.fornax.cartridges.sculptor.framework.errorhandling.ServiceContext;

import javax.ejb.Stateless;

import javax.interceptor.Interceptors;


/**
 * Implementation of A.
 */
@Stateless(name = "a")
@Interceptors({org.fornax.cartridges.sculptor.framework.errorhandling.ServiceContextStoreInterceptor.class,
    org.fornax.cartridges.sculptor.framework.errorhandling.ErrorHandlingInterceptor.class
})
public class ABean extends ABeanBase {
    private static final long serialVersionUID = 1L;

    public ABean() {
    }

    @Interceptors({org.fornax.cartridges.sculptor.framework.errorhandling.JpaFlushEagerInterceptor.class
    })
    public String a(ServiceContext ctx) {
    	return "a" + getB().b(ctx);
    }
}
